
<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
    <meta name="renderer" content="webkit" />
    <meta name="force-rendering" content="webkit" />
    <title></title>
    <link type="text/css" rel="stylesheet" href="${base}/templates/${config.theme}/mobile/css/style.css" />
</head>

<body>
<div class="headerbox">
    <div class="header">
        <div class="headerL">
            <a onclick="javascript:history.back(-1)" class="goback"><img src="${base}/templates/${config.theme}/mobile/images/goback.png" /></a>
        </div>
        <div class="headerC">
            <p>海报</p>
        </div>
        <div class="headerR" >

        </div>
    </div>
</div>
<div class="clear"></div>
<div id="hbox" style="display:none;padding-top: 50px">  <img src="" id="code"></div>
<div class="kbox"style="text-align: center"></div>

<div class="clear"></div>
</body>
<script src="${base}/templates/${config.theme}/mobile/js/jquery.min.js"></script>
<script src="${base}/templates/${config.theme}/mobile/js/jweixin-1.2.0.js"></script>
<script type="text/javascript" src="${base}/templates/${config.theme}/mobile/static/js/ajax.js"></script>
<script>
    $(function() {
        getCode();

    });



    function getCode(){
        $.axse("/weix/code",{  },
            function(data){
                if(data.rel){
                    $("#code").attr("src",data.result.qrCode);
                    $("#hbox").show();
                    $(".kbox").text(data.result.crtName)
                }
            },
            function(data){
            });

    }


</script>
</html>
